package com.yonyou.gmmc.dealerApp.api.model;

import java.util.Date;
import javax.persistence.*;

@Table(name = "TT_DEALERAPP_LOGIN_TOKEN")
public class TtDealerappLoginToken {
    @Id
    @Column(name = "TT_DEALERAPP_LOGIN_TOKEN_ID")
    @SequenceGenerator(name="",sequenceName="SEQ_TT_DEALERAPP_LOGIN_TOKEN")
    private Long ttDealerappLoginTokenId;

    @Column(name = "TM_USERS_ID")
    private Long tmUsersId;

    @Column(name = "ACCESS_TOKEN")
    private String accessToken;

    @Column(name = "EXPIRE_DATE")
    private Date expireDate;

    @Column(name = "CREATE_BY")
    private Long createBy;

    @Column(name = "CREATE_DATE")
    private Date createDate;

    @Column(name = "UPDATE_BY")
    private Long updateBy;

    @Column(name = "UPDATE_DATE")
    private Date updateDate;

    /**
     * @return TT_DEALERAPP_LOGIN_TOKEN_ID
     */
    public Long getTtDealerappLoginTokenId() {
        return ttDealerappLoginTokenId;
    }

    /**
     * @param ttDealerappLoginTokenId
     */
    public void setTtDealerappLoginTokenId(Long ttDealerappLoginTokenId) {
        this.ttDealerappLoginTokenId = ttDealerappLoginTokenId;
    }

    /**
     * @return TM_USERS_ID
     */
    public Long getTmUsersId() {
        return tmUsersId;
    }

    /**
     * @param tmUsersId
     */
    public void setTmUsersId(Long tmUsersId) {
        this.tmUsersId = tmUsersId;
    }

    /**
     * @return ACCESS_TOKEN
     */
    public String getAccessToken() {
        return accessToken;
    }

    /**
     * @param accessToken
     */
    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    /**
     * @return EXPIRE_DATE
     */
    public Date getExpireDate() {
        return expireDate;
    }

    /**
     * @param expireDate
     */
    public void setExpireDate(Date expireDate) {
        this.expireDate = expireDate;
    }

    /**
     * @return CREATE_BY
     */
    public Long getCreateBy() {
        return createBy;
    }

    /**
     * @param createBy
     */
    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    /**
     * @return CREATE_DATE
     */
    public Date getCreateDate() {
        return createDate;
    }

    /**
     * @param createDate
     */
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    /**
     * @return UPDATE_BY
     */
    public Long getUpdateBy() {
        return updateBy;
    }

    /**
     * @param updateBy
     */
    public void setUpdateBy(Long updateBy) {
        this.updateBy = updateBy;
    }

    /**
     * @return UPDATE_DATE
     */
    public Date getUpdateDate() {
        return updateDate;
    }

    /**
     * @param updateDate
     */
    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }
}